package com.robot.dao.action;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.robot.dao.entity.ActionUnit;
import com.robot.dao.vo.FileOverViewVO;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


// Knowledge组件的repo层对象，可以在业务代码中流转
public class ActionUnitKnowledge extends ActionUnit {
    private KnowledgeDetail detail;

    public class KnowledgeDetail  implements Serializable {
        private String knowledgeId;
        private String knowledgeName;
        private Integer knowledgeType; //1-个人知识库，2-企业知识库，3-批量问答文件夹，4-数据源组件
        @JsonProperty("files")
        private List<FileOverViewVO> files;
    }
}
